#!/bin/sh


iptables -I zone_wifi_input -p udp -m udp --dport 5001 -j ACCEPT
iptables -I zone_wifi_input -p tcp -m tcp --dport 5001 -j ACCEPT
iptables -I zone_dtdlink_input -p udp -m udp --dport 5001 -j ACCEPT
iptables -I zone_dtdlink_input -p tcp -m tcp --dport 5001 -j ACCEPT

if [ "$MESHFW_TUNNELS_ENABLED" == "1" ]; then
	 iptables -I zone_vpn_input -p udp -m udp --dport 5001 -j ACCEPT
	 iptables -I zone_vpn_input -p tcp -m tcp --dport 5001 -j ACCEPT
fi

